
package com.hlkj.pay.service.common;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.io.File;

import com.hlkj.framework.common.pojo.CommonResult;
import com.hlkj.pay.dto.order.SchemeOrderDto;
import com.hlkj.pay.infrastructure.model.common.CommonAppDO;
import com.hlkj.pay.infrastructure.model.order.PayOrderDO;

import cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult;

/**
 * @author HlpayTeam
 * @date 2024/12/30 17:38
 */
public interface IWechatAppService {

    /**
     * 
     * @param appId
     * @return
     */
    CommonResult<SchemeOrderDto> urlLink(CommonAppDO commonAppDO, PayOrderDO payOrderDO, String page);
    /**
     *
     * @param appId
     * @param code
     * @return
     */
    CommonResult<WxMaJscode2SessionResult> wxAppUserInfo(CommonAppDO commonAppDO, String code);


    CommonResult<File> getwxacodeunlimit(CommonAppDO commonAppDO, String page, String scene);
}
